package com.mtask.task.service;

import com.mtask.common.entity.task.TaskJob;

import java.util.List;

public interface TaskService {
    boolean startJob(Integer id);
    boolean stopJob(Integer id);
    boolean deleteJob(Integer id);
    TaskJob createJob(TaskJob job);
    List<TaskJob> startJobWithDb();
    List<TaskJob> startAllJobWithDb();
    List<TaskJob> deleteAllJobWithDb();
}

